package com.one.blocks.rbac.config;

import com.alicp.jetcache.anno.config.EnableMethodCache;
import com.one.blocks.common.yaml.YamlPropertySourceFactory;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @author <a href="mailto:idler41@163.con">linfuxin</a> created on 2023-09-17 09:19:29
 */
@EnableAutoConfiguration
@Import(RbacAutoConfig.class)
@PropertySource(value = "classpath:application-local.yml", factory = YamlPropertySourceFactory.class)
@EnableMethodCache(basePackages = {"com.one.blocks.rbac.manager"})
@Configuration
public class AppConfig {
}
